﻿using FaWorksSolution.MvcApplication.Models.Assets;
using FaWorksSolution.MvcApplication.Models.Sitemap;
using FaWorksSolution.MvcApplication.Models.Account;
using FaWorksSolution.MvcApplication.Models.Calendar;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;

namespace FaWorksSolution.MvcApplication
{
    public class DefaultContext : DbContext
    {
        public DefaultContext()
            : base("name=DefaultConnection")
        {
        }

        public DbSet<Group> AssetsGroups { get; set; }
        public DbSet<File> AssetsFiles { get; set; }
        public DbSet<Cdn> AssetsCdns { get; set; }

        public DbSet<Domain> SitemapDomains { get; set; }
        public DbSet<Page> SitemapPages { get; set; }

        public DbSet<User> AccountUsers { get; set; }

        public DbSet<Todo> CalendarTodos { get; set; }
    }
}